var mini = {};
(function (window) {

    var add = function (a, b) {
        return a + b;
    };
    
    mini.add = add;
    
    var test = function () {
        console.log('1+2=' + add(1, 2));
    };

    test();
})(this);

console.log(mini.add(1,32));
